﻿using Abp.Modules;
using Abp.Reflection.Extensions;
using dd.Localization;

namespace dd
{
    public class ddCoreModule : AbpModule
    {
        public override void PreInitialize()
        {
			//审计日志
            Configuration.Auditing.IsEnabledForAnonymousUsers = true;

            ddLocalizationConfigurer.Configure(Configuration.Localization);
        }

        public override void Initialize()
        {
            IocManager.RegisterAssemblyByConvention(typeof(ddCoreModule).GetAssembly());
        }
    }
}